<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('base',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
$block = array();
$block['id'] = 'base';
$block['title'] = $lang['menu_base'];
$block['link'] = array("\"base.php?dn=index&ops=$sess[hash]\""=>$lang['base_copy'],
                       "\"base.php?dn=improvement&ops=$sess[hash]\""=>$lang['base_opitm_repair'],
                       "\"base.php?dn=status&ops=$sess[hash]\""=>$lang['base_st_DB']
                       //,"\"base.php?dn=tablestatus&ops=$sess[hash]\""=>$lang['base_st_table']
                       );
}
?>